<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <script src="/js/jquery-1.7.2.min.js"></script>
</head>
<body>
<form action="/student/add" method="post" enctype="multipart/form-data">
    姓名<input type="text" name="name"><br>
    密码 <input type="password" name="password"><br>
    头像： <input type="file" name="picture"><br>
    <input type="submit" value="注册">

    <img src="/img/1.jpg">
    <a th:href="@{/student/tologin}">去登录</a>

</form>
</body>
</html>